//
//  SkillTabVC.h
//  EVETracker
//
//  Created by Scott Guyer on 7/30/08.
//  Copyright 2008 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum {
	SkillTabViewModeBrowse,
	SkillTabViewModeSearch
} SkillTabViewMode;

@class SkillGroupVC;
@class SkillListVC;

@interface SkillTabVC : UIViewController <UISearchBarDelegate>
{
	IBOutlet UINavigationController*     navVC;
	IBOutlet UIViewController*           rootVC;
	IBOutlet UIBarButtonItem*            searchButton;
	IBOutlet UISearchBar*                searchBar;
	IBOutlet UISegmentedControl*         searchTypeSegControl;
	
	SkillTabViewMode                     viewMode;
	
	SkillListVC*                         listVC;
	SkillGroupVC*                        groupVC;
	
	NSDictionary*                        fullData;
	NSMutableDictionary*                 savedData;
	NSMutableDictionary*                 filteredData;
	NSString*                            filter;
	
}


@property(nonatomic,retain) UINavigationController*     navVC;
@property(nonatomic,retain) UIViewController*           rootVC;
@property(nonatomic,retain) UIBarButtonItem*            searchButton;
@property(nonatomic,retain) UISearchBar*                searchBar;
@property(nonatomic,retain) UISegmentedControl*         searchTypeSegControl;

- (IBAction) searchButtonAction:(id)sender ;
- (IBAction) searchTypeAction:(id)sender ;

- (void) jenny ;

@end
